<?php
/**
 * 返点与赔率的关系
 */
defined('IN_YuLin') || exit('NO PERMIT!');

$rpoTab      = Table('repoint_and_odds');
$lottCateTab = Table('lottery_category');
$operation   = NoBadStr($_REQUEST['operation']);
$pageShow    = '';
switch ($operation){
    case 'add':
        break;
    default:
        $sql          = 'SELECT id, name FROM ' . $lottCateTab . ' WHERE status = 0';
        $lottCateList = $db->getall($sql);
        $pageShow     = 'lottery/repoint_and_odds';
        break;
}

$tpl->display($pageShow);
